#include <windows.h>
#include <stdio.h>
#include <tchar.h>

void _tmain( int argc, TCHAR *argv[] )
{
	
	HANDLE  hndl;
	DWORD dwExitCode = 0;
	PROCESSENTRY32  procEntry={0};
	char buf[1024];
	char *buf2;
	STARTUPINFO si;
    PROCESS_INFORMATION pi;
	int argc_tmp=argc;
	if( argc < 3)
    {
        printf("Usage: %s [second] [process] [args..] \n\t ", argv[0]);
        return;
    }
	while(argc_tmp--){
		if(argc-argc_tmp<2)
		{
			buf2=malloc(strlen(argv[argc-argc_tmp]));
			memcpy(buf,
			
			sprintf(buf2,"%s %s",
		}
	}
	
	Sleep(atoi(argv[1]));
	
	
	

    ZeroMemory( &si, sizeof(si) );
    si.cb = sizeof(si);
    ZeroMemory( &pi, sizeof(pi) );
    if( !CreateProcess( NULL,   // No module name (use command line)
        buf,        // Command line
        NULL,           // Process handle not inheritable
        NULL,           // Thread handle not inheritable
        FALSE,          // Set handle inheritance to FALSE
        0,              // No creation flags
        NULL,           // Use parent's environment block
        NULL,           // Use parent's starting directory 
        &si,            // Pointer to STARTUPINFO structure
        &pi )           // Pointer to PROCESS_INFORMATION structure
    ) 
    {
        printf( "CreateProcess failed (%d).\n", GetLastError() );
        return;
    }
	
	
}